
import java.io.Serializable;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author remichaoul
 */
public interface InterfaceCatalogue extends Remote{

    public boolean RemettreArticle(Article art) throws RemoteException;

    public String getInfoArticle(int id) throws RemoteException;

    public ArrayList <Article> findByAutor(String auteur) throws RemoteException;

    public ArrayList <Article> findByPref() throws RemoteException;
    
    public ArrayList <Article> findByDesc(String desc) throws RemoteException;

    public boolean retirerArticle(Article art) throws RemoteException;

}
